package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 设备驱动管理对象 b_device_drive
 *
 * @author ruoyi
 * @date 2023-06-10
 */
@Data
public class BDeviceDrive extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id唯一标识
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    private String deviceImei;

    /**
     * 通讯口
     */
    @Excel(name = "通讯口")
    private Integer comPort;

    /**
     * 驱动名称
     */
    @Excel(name = "驱动名称")
    private String driveName;

    /**
     * 品牌
     */
    @Excel(name = "品牌")
    private Integer driveBrand;

    /**
     * 型号
     */
    @Excel(name = "型号")
    private Integer driveModel;

    /**
     * 设备地址
     */
    @Excel(name = "设备地址")
    private Integer deviceAddress;

    /**
     * ip地址
     */
    @Excel(name = "ip地址")
    private String remoteIp;

    /**
     * 远程端口
     */
    @Excel(name = "远程端口")
    private Integer remotePort;

    /**
     * 最小采集时间
     */
    @Excel(name = "最小采集时间")
    private Integer minAcquisitionTime;

    /**
     * 通讯等待时间
     */
    @Excel(name = "通讯等待时间")
    private Integer comWaitingTime;

    /**
     * 16整型
     */
    @Excel(name = "16整型")
    private Integer shortOrder;

    /**
     * 32/64位整型
     */
    @Excel(name = "32/64位整型")
    private Integer intOrder;

    /**
     * 32位/64位浮点型
     */
    @Excel(name = "32位/64位浮点型")
    private Integer floatOrder;

    /**
     * 写功能码
     */
    @Excel(name = "写功能码")
    private Integer writeFuncCode;

    /**
     * 分块采集方式
     */
    @Excel(name = "分块采集方式")
    private Integer blockCollectionMode;

    /**
     * 机架号
     */
    @Excel(name = "机架号")
    private String rackNumber;

    /**
     * 槽号
     */
    @Excel(name = "槽号")
    private String slotNumber;

    /**
     * 电表设备地址
     */
    @Excel(name = "电表设备地址")
    private String elecDeviceAddress;

}
